writing chemical formulas for ionic compounds